package com.iflytek.zooml.ui;

import com.example.customimageview.R;
import com.example.customimageview.R.drawable;
import com.example.customimageview.R.id;
import com.example.customimageview.R.layout;
import com.iflytek.zooml.util.BitmapUtil;
import com.iflytek.zooml.view.ZoomImageView;

import android.app.Activity;
import android.graphics.Bitmap;
import android.os.Bundle;

public class MainActivity extends Activity {

	private ZoomImageView IvDrag;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		IvDrag = (ZoomImageView) findViewById(R.id.iv_drag);
		Bitmap bm = BitmapUtil.ReadBitmapById(MainActivity.this,R.drawable.pc);
		IvDrag.setImageBitmap(bm);	
	}

}
